//
//  UIWindow+BasePickerView.m
//  BeautyIndustry
//
//  Created by tangbin on 2020/12/25.
//

#import "UIWindow+BasePickerView.h"
#import <objc/runtime.h>

@implementation UIWindow (BasePickerView)
- (void)setCustPickerView:(TYZBasePickerView *)custPickerView
{
    objc_setAssociatedObject(self, @selector(custPickerView), custPickerView, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}

- (TYZBasePickerView *)custPickerView
{
    return objc_getAssociatedObject(self, _cmd);
}

- (void)setCustPickerMaskView:(UIView *)custPickerMaskView
{
    objc_setAssociatedObject(self, @selector(custPickerMaskView), custPickerMaskView, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
}

- (UIView *)custPickerMaskView
{
    return objc_getAssociatedObject(self, _cmd);
}
@end
